package com.weaver.drools.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;


/**
 * The persistent class for the U_USR_USER_36 database table.
 * 
 */
@Entity
@Table(name="U_USR_USER_36")
public class UUsrUser36 implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="U_USR_USER_36_USERID_GENERATOR",sequenceName="SE_U_USR_USER_36",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="U_USR_USER_36_USERID_GENERATOR")
	private Long userid;

	private String address;

	@Temporal(TemporalType.DATE)
	private Date birthday;

	@Temporal(TemporalType.DATE)
	private Date createdata;

	private String datacertificate;

	private Long departmentid;

	private String dutiesname;

	private String email;

	private String fax;

	private String homephone;

	private Long isaccountenable;

	private Long isdeleted;

	private Long isenablelogin;

	private String mobile;

	@Column(name="ONLINE_STATUS")
	private String onlineStatus;

	private String password;

	private String phone;

	private String remark;

	@Column(name="RESERVED_1")
	private String reserved1;

	@Column(name="RESERVED_2")
	private String reserved2;

	@Column(name="RESERVED_3")
	private String reserved3;

	@Column(name="RESERVED_4")
	private String reserved4;

	@Column(name="RESERVED_5")
	private String reserved5;

	@Column(name="RESERVED_6")
	private String reserved6;

	@Column(name="RESERVED_7")
	private String reserved7;

	@Column(name="ROLE")
	private String role;

	private Long roletypeid;

	private String showname;

	private Long sitetypeid;

	private Long status;

	private String unitsimplename;

	private String username;

	private Long viplevel;

	//bi-directional many-to-one association to EAqInsUndertaker272
	@OneToMany(mappedBy="UUsrUser36")
	private Set<EAqInsUndertaker272> EAqInsUndertaker272s;

	@ManyToOne
	@JoinColumn(name="SEXID")
	private DSex35 DSex35;
	
	@ManyToOne
	@JoinColumn(name="OPERATEPOINTID")
	private QCmnOperatepoint20 QCmnOperatepoint20;
	
	public UUsrUser36() {
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Date getCreatedata() {
		return this.createdata;
	}

	public void setCreatedata(Date createdata) {
		this.createdata = createdata;
	}

	public String getDatacertificate() {
		return this.datacertificate;
	}

	public void setDatacertificate(String datacertificate) {
		this.datacertificate = datacertificate;
	}

	public Long getDepartmentid() {
		return this.departmentid;
	}

	public void setDepartmentid(Long departmentid) {
		this.departmentid = departmentid;
	}

	public String getDutiesname() {
		return this.dutiesname;
	}

	public void setDutiesname(String dutiesname) {
		this.dutiesname = dutiesname;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getHomephone() {
		return this.homephone;
	}

	public void setHomephone(String homephone) {
		this.homephone = homephone;
	}

	public Long getIsaccountenable() {
		return this.isaccountenable;
	}

	public void setIsaccountenable(Long isaccountenable) {
		this.isaccountenable = isaccountenable;
	}

	public Long getIsdeleted() {
		return this.isdeleted;
	}

	public void setIsdeleted(Long isdeleted) {
		this.isdeleted = isdeleted;
	}

	public Long getIsenablelogin() {
		return this.isenablelogin;
	}

	public void setIsenablelogin(Long isenablelogin) {
		this.isenablelogin = isenablelogin;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getOnlineStatus() {
		return this.onlineStatus;
	}

	public void setOnlineStatus(String onlineStatus) {
		this.onlineStatus = onlineStatus;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getReserved1() {
		return this.reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return this.reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return this.reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public String getReserved4() {
		return this.reserved4;
	}

	public void setReserved4(String reserved4) {
		this.reserved4 = reserved4;
	}

	public String getReserved5() {
		return this.reserved5;
	}

	public void setReserved5(String reserved5) {
		this.reserved5 = reserved5;
	}

	public String getReserved6() {
		return this.reserved6;
	}

	public void setReserved6(String reserved6) {
		this.reserved6 = reserved6;
	}

	public String getReserved7() {
		return this.reserved7;
	}

	public void setReserved7(String reserved7) {
		this.reserved7 = reserved7;
	}

	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public Long getRoletypeid() {
		return this.roletypeid;
	}

	public void setRoletypeid(Long roletypeid) {
		this.roletypeid = roletypeid;
	}

	public String getShowname() {
		return this.showname;
	}

	public void setShowname(String showname) {
		this.showname = showname;
	}

	public Long getSitetypeid() {
		return this.sitetypeid;
	}

	public void setSitetypeid(Long sitetypeid) {
		this.sitetypeid = sitetypeid;
	}

	public Long getStatus() {
		return this.status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public String getUnitsimplename() {
		return this.unitsimplename;
	}

	public void setUnitsimplename(String unitsimplename) {
		this.unitsimplename = unitsimplename;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getViplevel() {
		return this.viplevel;
	}

	public void setViplevel(Long viplevel) {
		this.viplevel = viplevel;
	}

	public Set<EAqInsUndertaker272> getEAqInsUndertaker272s() {
		return this.EAqInsUndertaker272s;
	}

	public void setEAqInsUndertaker272s(Set<EAqInsUndertaker272> EAqInsUndertaker272s) {
		this.EAqInsUndertaker272s = EAqInsUndertaker272s;
	}

	public EAqInsUndertaker272 addEAqInsUndertaker272(EAqInsUndertaker272 EAqInsUndertaker272) {
		getEAqInsUndertaker272s().add(EAqInsUndertaker272);
		EAqInsUndertaker272.setUUsrUser36(this);

		return EAqInsUndertaker272;
	}

	public EAqInsUndertaker272 removeEAqInsUndertaker272(EAqInsUndertaker272 EAqInsUndertaker272) {
		getEAqInsUndertaker272s().remove(EAqInsUndertaker272);
		EAqInsUndertaker272.setUUsrUser36(null);

		return EAqInsUndertaker272;
	}

	public DSex35 getDSex35() {
		return DSex35;
	}

	public void setDSex35(DSex35 dSex35) {
		DSex35 = dSex35;
	}

	public QCmnOperatepoint20 getQCmnOperatepoint20() {
		return QCmnOperatepoint20;
	}

	public void setQCmnOperatepoint20(QCmnOperatepoint20 qCmnOperatepoint20) {
		QCmnOperatepoint20 = qCmnOperatepoint20;
	}

}